<!-- forms/interface/string.html : Варианты вывода полей интерфейса "строка" -->

{{TPL:W100}}
<input type="text" class="w100" name="{{field}}" value="{{interface_data}}" />
{{/TPL:W100}}

{{TPL:Plain}}
<input type="text" name="{{field}}" value="{{interface_data}}" />
{{/TPL:Plain}}

{{TPL:Small}}
<input type="text" size="5" name="{{field}}" value="{{interface_data}}" />
{{/TPL:Small}}

{{TPL:Textarea}}
<textarea name="{{field}}"  id="{{field}}_{{form_id}}" 
          {{?params_cols}}cols="{{params_cols}}"{{/?}}
          {{?params_rows}}rows="{{params_rows}}"{{/?}}
          {{?params_height}}style="height:{{params_height}}"{{/?}}
          class="w100 {{params_class}}">{{interface_data}}</textarea>
{{/TPL:Textarea}}

{{TPL:Hidden}}
<input type="hidden" name="{{field}}" {{?params_id}}id="{{params_id}}"{{/?}} value="{{interface_data}}" />
{{/TPL:Hidden}}

{{TPL:PlainTextarea}}
<textarea name="{{field}}" id="{{field}}_{{form_id}}" {{?params_class}} class="{{params_class}}" {{/?}}>{{interface_data}}</textarea>
{{/TPL:PlainTextarea}}


{{TPL:Wikiedit}}
{{!connect protoedit.js lib=wikiedit}}
{{!connect wikiedit2.js lib=wikiedit}}
{{!connect wikiedit.css lib=wikiedit}}
{{!!inline onload}}
wE = new WikiEdit(); wE.init('{{field}}','WikiEdit','edname', '{{lib}}wikiedit/images/');
{{/!!}}

<textarea name="{{field}}" id="{{field}}"    
          {{?params_cols}}cols="{{params_cols}}"{{/?}}
          {{?params_rows}}rows="{{params_rows}}"{{/?}}
          {{?params_height}}style="height:{{params_height}}"{{/?}}
          class="w100 {{params_class}}">{{interface_data}}</textarea>
{{/TPL:Wikiedit}}


{{TPL:Tinymce}}
{{!connect "tinymce/tiny_mce_src.js"}}
{{!connect "tiny_mce_start.js"}} <!-- Constructs TinyMCE default config and tinyMCE.init(config) -->
<textarea name="{{field}}" id="{{field}}_{{form_id}}" 
          {{?params_cols}}cols="{{params_cols}}"{{/?}}
          {{?params_rows}}rows="{{params_rows}}"{{/?}}
          {{?params_height}}style="height:{{params_height}}"{{/?}}
		  class="mceEditor{{?params_tiny_mce_layout}} {{params_tiny_mce_layout}}{{/?}}">{{interface_data}}</textarea>
<script type="text/javascript">
	tinyMCE.execCommand('mceAddControl', true, '{{field}}_{{form_id}}');
</script>
{{/TPL:Tinymce}}
